package com.dhcc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dhcc.entity.ClientInstitutionRoleDepartment;
import com.dhcc.mapper.ClientInstitutionRoleDepartmentMapper;
import com.dhcc.service.ClientInstitutionRoleDepartmentService;

import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class ClientInstitutionRoleDepartmentServiceImpl extends ServiceImpl<ClientInstitutionRoleDepartmentMapper, ClientInstitutionRoleDepartment> implements ClientInstitutionRoleDepartmentService {
    @Resource
    private ClientInstitutionRoleDepartmentMapper clientInstitutionRoleDepartmentMapper;
    @Override
    public Integer addInforment(String departmentId, String institutionId, String institutionRoleId) {
        return clientInstitutionRoleDepartmentMapper.addInforment(departmentId,institutionId,institutionRoleId);
    }

    @Override
    public Integer deleteData(String institutionId, String institutionRoleId, String departmentId) {
        return clientInstitutionRoleDepartmentMapper.deleteData(institutionId,institutionRoleId,departmentId);
    }
}
